package top.yekongle.springcloud.service.impl;

import org.springframework.stereotype.Component;
import top.yekongle.springcloud.entity.CommonResult;
import top.yekongle.springcloud.entity.Payment;
import top.yekongle.springcloud.service.PaymentFeignService;

@Component
public class PaymentFallbackServiceImpl implements PaymentFeignService {
    /*@Override*/
    public CommonResult<Payment> getPayment(Long id) {
        return null;
    }

//    @Override
    public String paymentFeignTimeout() {
        return null;
    }

//    @Override
    public String paymentInfo_OK(Integer id)
    {
        return "-----PaymentFallbackService fall back-paymentInfo_OK ,o(╥﹏╥)o";
    }

//    @Override
    public String paymentInfo_TimeOut(Integer id)
    {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut ,o(╥﹏╥)o";
    }
}
